Website powered by

Python in Confinium: Rig-O-Mat

In the context of my bachelor project Cofinium, I was responsible for rigging the assets, count up to a sum of 22 assets. Due to the mechanical animations of the assets it was necessary to split each asset into individual meshes. That resulted in up to 120 individual meshes. Therefore I used Python in Cinema 4D to automatize this process.

The script centers the pivot of each mesh, creates joints for each one at its pivot, freezes the transformation of the created joints and renames the joints corresponding to the meshes they originated from.
Afterwards, the joints just needed to be put in the right hierarchy and bind them accordingly.

This picture shows the amount of single meshes of an asset and the created joints after the Python script "Rig-O-Mat" was executed.

This picture shows the amount of single meshes of an asset and the created joints after the Python script "Rig-O-Mat" was executed.